package com.bingo.demo;

import com.bingo.controller.TestEventListenerController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author 25452
 */
public class EventListenserDemo {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext("com.bingo");
		TestEventListenerController eventListenerController=context.getBean(TestEventListenerController.class);
		eventListenerController.testPublishEvent();
	}
}
